package edu.hunau.cxb18.pojo;

/**
 * @author hb
 * @create 2020-02-20 11:34
 */
public class User {
    private  int id;
    private String username;
    //提供构造器和getter,setter方法的快捷键 alt+insert

    public User(int id, String username) {
        this.id = id;
        this.username = username;
    }

    public User() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                '}';
    }
}
